/**
 * 
 */
package vashion.azeroth.contant;

/**
 * Created by Loki on 16/1/17.
 *
 */
public enum PropertyErrorEnum {

	QUERY_ERROR(12001, "查询异常"),
    SYSTEM_ERROR(12002, "系统异常"),
    ARG_ERROR(12003, "参数不全"),
    IS_NULL(12004, "尺寸属性为空"),

    BRAND_QUERY_ERROR(12005, "尺寸属性查询异常"),
    BRAND_SYSTEM_ERROR(12006, "尺寸属性系统异常"),
    BRAND_ARG_ERROR(12007, "尺寸属性参数不全"),
    BRAND_IS_NULL(12008, "尺寸属性为空"),

    ALREADY_EXITS(12013, "尺寸属性已存在"),;

    private
    int errorCode;
    private
    String errorMessage;

    public int getErrorCode() {
        return errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    private PropertyErrorEnum(int errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;
    }

}
